package edu.sctu.wujiayi.month04.day20150430;

/**
 * Created by user11 on 2015/4/30.
 */
public class DayClient {


    public static void main(String[] args) {
       // System.out.println("hello world");
        //实现计算器的加减乘除
        Calulator calulator = new Calulator();


        int result = calulator.plus(6, 5);

        System.out.println("6 + 5 =" +result);

        result = calulator.sub(6, 5);

        System.out.println("6 -  5 =" + result);

        result = calulator.mulit(6, 5);

        System.out.println("6 * 5 =" + result);

        result = calulator.divide(6, 5);

        System.out.println("6 / 5 =" + result);
    }


}
